- if !user.moderator_of?(forum)
  = link_to :make_moderator.l, forum_moderators_path(:forum_id => forum.id, :user_id => user.id), :method => :post, :class => 'act-via-ajax', :id => 'moderator-'+user.id.to_s
- else
  - moderatorship = Moderatorship.find_by_user_id_and_forum_id(user.id, forum.id)
  = link_to :remove_moderator.l, forum_moderator_path(forum, moderatorship.id), :method => :delete, :class => 'act-via-ajax', :id => 'moderator-'+user.id.to_s
  